/* 抽屉样式和动画 */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
}

.drawer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* max-height: 80vh; */
  background-color: #1a1a1a;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  animation: slideUp 0.3s ease-out forwards;
  overflow-y: auto;
}

.drawer-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #2d2d2d;
  background-color: #1a1a1a;
  z-index: 10;
}

.drawer-close {
  padding: 0.5rem;
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.drawer-close:hover {
  background-color: #333333;
}

.drawer-close:active {
  background-color: #444444;
} 